#ifndef STATUSWIDGET_H
#define STATUSWIDGET_H

#include <QWidget>
#include <QProgressBar>

class StatusWidget : public QWidget
{
    Q_OBJECT

    QProgressBar* shelfFullness_;
    QProgressBar* activeUsers_;
    QProgressBar* waitingWriters_;
    void initProgressBar(QProgressBar *bar);
public:
    explicit StatusWidget(int shelfCapacity, int poolCapacity, QWidget *parent = 0);
    
signals:
    
public slots:
    void incBook();
    void incWaiting();
    void decWaiting();
};

#endif // STATUSWIDGET_H
